﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using dao.daos;

namespace negocio.servicios
{
    public static class TorneoService
    {
        private static TorneoDao dao = new TorneoDao();
        private static ClubDao daoClub = new ClubDao();
        private static CompetenciaDao daoCom =  new CompetenciaDao();

        public static int Registrar(int idClub, DateTime fcd, DateTime fch)
        {
            return dao.RegistrarTorneo(idClub,fcd,fch);
        }

        public static DataTable ObtenerClubes()
        {
            return daoClub.ObtenerClubes();
        }

        public static DataTable ObtenerCompetencias()
        {
            return daoCom.ObtenerCompetencias();
        }

       
    }
}
